package sctu.edu.java.year2016.team07.nieying.practice.Review;

import java.util.Scanner;
import java.util.concurrent.SynchronousQueue;

/**
 * Created by Administrator on 2016/6/15 0015.
 */
public class Example {
    public static void main(String[] args){
        Scanner scan=new Scanner(System.in);
        System.out.println("请输入员工姓名：");
        String name=scan.nextLine();
        System.out.println("请输入员工应聘的语言：");
        String language=scan.nextLine();
        switch (language.hashCode()){
            case 3254818:
            case 2301506:
            case 2269730:
                System.out.println("员工"+name+"分配到java开发部门。");
                break;
            case 3104:
            case 2112:
                System.out.println("员工"+name+"分配到C项目。");
                    break;
            case -709190099:
            case 955463181:
            case 9745901:
                System.out.println("员工"+name+"分配到ASP.net");
                    break;
            default:
System.out.println("本公司不需要"+language+"语言开发人员。");
        }
    }
}
